#ifndef SKINMANAGER_H_
#define SKINMANAGER_H_

#include "TextureManager.h"
#include "Directory.h"
#include "File.h"
#include "UISkin.h"
#include "FontManager.h"
#include <map>
#include <string>

namespace Lame3d
{
	class SkinManager
	{
		public:
			SkinManager(FontManager &fM, const DisplayManager &dM, const char *path = "Skins");
			~SkinManager();
		
			UISkin& operator[](const std::string &name);
		protected:
			std::map<std::string, UISkin*> skins;
			TextureManager textureManager;
			FontManager &fontManager;
			const DisplayManager &displayManager;
	};
}

#endif /*SKINMANAGER_H_*/
